$OpenBSD: patch-src_xfedefs_h,v 1.3 2015/07/18 01:11:18 ajacoutot Exp $

Unbreak launching Xfe as root with sudo or su (fix gnuisms)

--- src/xfedefs.h.orig	Mon Dec 22 11:57:44 2014
+++ src/xfedefs.h	Mon Jan 12 00:16:23 2015
@@ -162,11 +162,11 @@
 
 // Command to launch Xfe as root with sudo or su, using Xvt as a terminal
 #ifndef SUDOCMD
-#define SUDOCMD "-fn 7x14 -geometry 60x4 -e sudo su -c 'nohup xfe >& /dev/null & sleep 1'"
+#define SUDOCMD "-fn 7x14 -geometry 60x4 -e sudo su root -c 'nohup xfe >/dev/null & sleep 1'"
 #endif
 
 #ifndef SUCMD
-#define SUCMD "-fn 7x14 -geometry 60x4 -e su -c 'nohup xfe >& /dev/null & sleep 1'"
+#define SUCMD "-fn 7x14 -geometry 60x4 -e su root -c 'nohup xfe >/dev/null & sleep 1'"
 #endif
 
 // Tooltips setup time and duration
